var fs = require("fs");
var path = require("path");
fs.unlinkSync(path.join(__dirname, "../release/app.zip"));
console.log("remove release/app.zip success");
var data = fs.readFileSync(path.join(__dirname, "../app/app.zip"));
fs.writeFileSync(path.join(__dirname, "../release/app.zip"), data);
console.log("copy success");
fs.unlinkSync(path.join(__dirname, "../app/app.zip"));
console.log("remove app/app.zip success");
